package com.young.springdemo.service.director;

public class Decorator extends Phone {
    private Phone phone;

    public Decorator(Phone phone) {
        this.phone = phone;
    }

    @Override
    public void ring() {
        phone.ring();
    }
}
